// /*
//  * @Author: WanYiMing
//  * @Date:2024-05-21-14:39
//  * @Description:
//  */

using Code.GameLogic.BaseClass.Model;

namespace Code.GameLogic.Map
{
    public class MapBo : BaseBo
    {
        private int _mapLevel;

        private int _mapSize; //地图大小  50*50

        private int _maxMonsterVolume;//怪物最大容量
        
        private BlockBo[,] _blockMatrix;

        public MapBo(BaseDescription baseDescription) : base(baseDescription)
        {
        }

        public int MapLevel
        {
            get => _mapLevel;
            set => _mapLevel = value;
        }

        public int MapSize
        {
            get => _mapSize;
            set => _mapSize = value;
        }

        public BlockBo[,] BlockMatrix
        {
            get => _blockMatrix;
            set => _blockMatrix = value;
        }
        
        public override string ToString()
        {
            return
                $"{nameof(_mapLevel)}: {_mapLevel}, {nameof(_mapSize)}: {_mapSize}, {nameof(_blockMatrix)}: {_blockMatrix}, {nameof(MapLevel)}: {MapLevel}, {nameof(MapSize)}: {MapSize}, {nameof(BlockMatrix)}: {BlockMatrix}";
        }
    }
}